Precise iOS Toolkit  2.13.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
Macros
reader states

Macros

#define SCARD_STATE_UNAWARE   0x00000000
#define SCARD_STATE_IGNORE   0x00000001
#define SCARD_STATE_CHANGED   0x00000002
#define SCARD_STATE_UNKNOWN   0x00000004
#define SCARD_STATE_UNAVAILABLE   0x00000008
#define SCARD_STATE_EMPTY   0x00000010
#define SCARD_STATE_PRESENT   0x00000020
#define SCARD_STATE_ATRMATCH   0x00000040
#define SCARD_STATE_EXCLUSIVE   0x00000080
#define SCARD_STATE_INUSE   0x00000100
#define SCARD_STATE_MUTE   0x00000200
#define SCARD_STATE_UNPOWERED   0x00000400

Detailed Description


Macro Definition Documentation

#define SCARD_STATE_ATRMATCH   0x00000040
This implies that there is a card in the reader with an ATR matching one of 

the target cards. if this bit is set, SCARD_STATE_PRESENT will also be set. This bit is only returned on the SCardLocateCard() service.

Definition at line 138 of file winscard.h.

#define SCARD_STATE_CHANGED   0x00000002
This implies that there is a difference between the state believed by the 

application, and the state known by the Service Manager. When this bit is set, the application may assume a significant state change has occurred on this reader.

Definition at line 122 of file winscard.h.

#define SCARD_STATE_EMPTY   0x00000010
This implies that there is not card in the reader.  If this bit is set, all 

the following bits will be clear.

Definition at line 132 of file winscard.h.

#define SCARD_STATE_EXCLUSIVE   0x00000080
This implies that the card in the reader is allocated for exclusive use by 

another application. If this bit is set, SCARD_STATE_PRESENT will also be set.

Definition at line 142 of file winscard.h.

#define SCARD_STATE_IGNORE   0x00000001
The application requested that this reader be ignored.  No other bits will 

be set.

Definition at line 117 of file winscard.h.

#define SCARD_STATE_INUSE   0x00000100
This implies that the card in the reader is in use by one or more other 

applications, but may be connected to in shared mode. If this bit is set, SCARD_STATE_PRESENT will also be set.

Definition at line 146 of file winscard.h.

#define SCARD_STATE_MUTE   0x00000200

This implies that the card in the reader is unresponsive or not supported by the reader or software.

Definition at line 149 of file winscard.h.

#define SCARD_STATE_PRESENT   0x00000020

This implies that there is a card in the reader.

Definition at line 134 of file winscard.h.

#define SCARD_STATE_UNAVAILABLE   0x00000008
This implies that the actual state of this reader is not available.  If 

this bit is set, then all the following bits are clear.

Definition at line 129 of file winscard.h.

#define SCARD_STATE_UNAWARE   0x00000000
The application is unaware of the current state, and would like to know.  

The use of this value results in an immediate return from state transition monitoring services. This is represented by all bits set to zero.

Definition at line 114 of file winscard.h.

#define SCARD_STATE_UNKNOWN   0x00000004
This implies that the given reader name is not recognized by the Service 

Manager. If this bit is set, then SCARD_STATE_CHANGED and SCARD_STATE_IGNORE will also be set.

Definition at line 126 of file winscard.h.

#define SCARD_STATE_UNPOWERED   0x00000400

This implies that the card in the reader has not been powered up.

Definition at line 151 of file winscard.h.